Formal Specification, Verification and Repair of Contiki’s Scheduler
نویسندگان
چکیده
This paper presents an approach for model extraction, formal specification, verification and repair of the scheduler Contiki, which is event-driven lightweight Operating System Internet Things (IoT). We first derive a state machine-based abstraction scheduler’s modes operation along with control flow abstractions most important functions. then use set transformation rules to formally specify all its internal functions in Promela. Additional contributions respect conference version this article include (1) modeling nested function calls Promela using novel technique amenable checking SPIN; (2) protothreads Promela; (3) specifying verifying twelve critical requirements scheduler; (4) detecting new design flaws Contiki’s scheduler, time (to best our knowledge); (5) repairing source code towards fixing detected through verification, as well regression entire (6) experimentally analyzing space costs before after repair. The proposed techniques enhance knowledge regarding components provide reusable methods specification other operating systems used Cyber Physical Systems (CPS) IoT.
منابع مشابه
Web Service Choreography Verification Using Z Formal Specification
Web Service Choreography Description Language (WS-CDL) describes and orchestrates the services interactions among multiple participants. WS-CDL verification is essential since the interactions would lead to mismatches. Existing works verify the messages ordering, the flow of messages, and the expected results from collaborations. In this paper, we present a Z specification of WS-CDL. Besides ve...
متن کاملDesign and formal verification of DZMBE+
In this paper, a new broadcast encryption scheme is presented based on threshold secret sharing and secure multiparty computation. This scheme is maintained to be dynamic in that a broadcaster can broadcast a message to any of the dynamic groups of users in the system and it is also fair in the sense that no cheater is able to gain an unfair advantage over other users. Another important feature...
متن کاملFormal Specification and Automatic Verification
Real-time systems need to react to certain input stimuli within given time bounds. For example, an airbag in a car has to unfold within 300 milliseconds in a crash. There are many embedded safety-critical applications and each requires real-time specification techniques. This textbook introduces three of these techniques, based on logic and automata: Duration Calculus, Timed Automata, and PLC-A...
متن کاملFormal Verification of Specification Partitioning
This report presents a formal approach to verify models in a system level design environment. It is a first in series of reports that demonstrate how we use this formal approach to refine a given specification down to its cycle-accurate implementation. We formally define models and develop theorems and proofs to show that our well defined refinement algorithms produce functionally equivalent mo...
متن کاملFormal specification and verification of a microkernel
This thesis basically splits up into two parts. The first part introduces the abstract model of the Vamos kernel. The Vamos kernel provides the infrastructure for process and memory management, priority-based round-robin scheduling, communication with external devices, as well as inter-process communication. In the second part, we formulate a simulation theorem between the abstract Vamos model ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: ACM Transactions on Cyber-Physical Systems
سال: 2023
ISSN: ['2378-962X', '2378-9638']
DOI: https://doi.org/10.1145/3605948